#include<iostream>
using namespace std;
int main(){
int a[4][4] = {1,2,3,4,9,10,11,12,13,9,5,1,15,11,7,3};
int **b;
b = new int*[4];
for(int i = 0;i < 4;i++){
b[i] = new int[4];
}
for(int i = 0;i < 4;i++){
for(int j = 0;j < 4;j++){
b[j][3-i] = a[i][j];
}
}
for(int i = 0;i<4;i++){
for(int j = 0;j<4;j++){
cout<<b[i][j]<<"\t";
}
cout<<endl;
}
return 0;
}
